package xyz.twj.gateway.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author : TianWenjian
 */
@FeignClient(name = "micro-service1")
public interface  FeignDemo {
    @RequestMapping(value = "/micro-service", method = RequestMethod.GET)
    String hello();
}
